package com.xfxz.merchant;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;

import com.xfxz.merchant.view.login.LoginActivity;

public class StartActivity extends Activity{
    public static final int MSG_WHAT = 0;
    public static final int POST_DELAYED = 1500;
    private Handler mHandler = new Handler(){
        @Override
        public void handleMessage(Message msg) {
            startActivity(new Intent(StartActivity.this,LoginActivity.class));
            finish();
        }
    };
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_start);
        mHandler.sendEmptyMessageDelayed(MSG_WHAT,POST_DELAYED);
    }

}
